package com.example.tool.erp.sdk.api.process;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.process.dto.*;
import com.example.tool.erp.sdk.impl.Api;

public interface ProcessAPI
{
	@Api(value = "process.Bom.upload")
	BomUploadResponse uploadBom(BomUploadRequest request) throws WdtErpException;

	@Api(value = "process.Process.search", paged = true)
	ProcessSearchResponse searchProcess(ProcessSearchRequest request, Pager pager) throws WdtErpException;

	@Api(value = "process.Process.upload")
	ProcessUploadResponse uploadProcess(ProcessUploadRequest request) throws WdtErpException;

	@Api(value = "process.Bom.search", paged = true) BomSearchResponse searchBom(BomSearchRequest request, Pager pager) throws WdtErpException;
}
